<template>
    <div class="ec-form-item-header">
        <div>{{value}}</div>
        <slot></slot>
    </div>
</template>
<script>
    export default {
        props: {
            value: {
                type: String,
                default: "默认标题"
            }
        },
        data() {
            return {
            }
        },
    }
</script>

<style scoped>
.ec-form-item-header{
    background: #f5f5f5;
    padding: 10px;
    /* border-radius: 3px; */
    margin-bottom: 10px;
    border-radius: 4px;
    /* height: 40px; */
    /* line-height: 40px; */
    /* width: 100%; */
    /* box-sizing: border-box;*/
}
</style>